CMP#.WIDTHT

Description

CMP#.WIDTHT sets the time duration of the output pulse generated by the setpoint. It is used when CMP#.WIDTHTYPE for the setpoint is set to 1.

It takes two command line arguments: the first specifies the setpoint, and the second specifies the time duration.

Examples

The following diagram illustrates CMP#.WIDTHT

.

Code

The following commands set the time widths of channel 1 setpoint 5 to 3.5 ms and channel 2 setpoint 1 to 20 ms.

--> CMP1.WIDTHTYPE 5 1
--> CMP1.WIDTHT 5 3.5
--> CMP2.WIDTHTYPE 1 1
--> CMP2.WIDTHT 1 20

Context

For more information please refer to Compare.

Versions

Action Version Notes
Implemented 02-06-00-000  

General Information

Type

Read/Write

Units

ms

Range

0 to 1000.000

Default Value

0

Data Type

Float

See Also

CMP#.WIDTHTYPE

Stored in Non-Volatile Memory

Yes

Variants Supported

All variants are supported.

Fieldbus Information

EtherNet/IP

Name

ID

Hex

Data Type

Access

Units

CMP1.WIDTHT

31460

7AE4

Unsigned32[8]

Read/Write

-

CMP2.WIDTHT

31461

7AE5

Unsigned32[8]

Read/Write

-

PROFINET

Parameter

PNU

Data Type

Access

Units

CMP1.WIDTHT

31460

Float[8]

Read/Write

-

CMP2.WIDTHT

31461

Float[8]

Read/Write

-